<?php
defined('IN_TS') or die('Access Denied.');
//插件编辑
switch($ts){
	case "set":
		$arrkeywords = PluginCacheRead('pubs','keywords','data.php');
		include 'edit_set.html';
		break;
		
	case "do":
		$keywords = $_POST['keywords'];
		$arrkeywords = explode(",",$keywords);
		PluginCacheWrite($arrkeywords,'pubs','keywords','data.php');
		qiMsg("修改成功！");
		break;
}